package common

import (
	"github.com/gin-gonic/gin"
	"server/src/api"
	"server/src/middleware"
)

type AdminUser struct {
}

func (u *AdminUser) InitRouter(router *gin.RouterGroup) {
	adminUser := router.Group("adminUser").Use(middleware.UserIsLogin())
	{
		adminUser.POST("adAllUserInfoPage", api.CommonAdminUser.GetAllUserInfoPage)                 //获取用户信息
		adminUser.POST("adAllUserIntegralInfoPage", api.CommonAdminUser.GetAllUserIntegralInfoPage) //获取用户积分信息
	}
}
